Skip to main content

All Questions

1vote
0answers
37views

Cannot compile kernel modules on TrueNAS Scale

I have a Ugreen DXP 6800 Pro and the OS disk died. No actual NAS data was lost but I cannot figure out how to get the OS back to the same state. I was previously able to compile modules and add them ...
lmnop's user avatar
0votes
1answer
184views

Compiling kernel modules for a Terramaster NAS

I'm having a bit of trouble with compiling the Coral AI PCIe drivers for my Terramaster NAS. Terramaster support has been no use at all. However, one other user has managed to compile some modules to ...
Andy E's user avatar
0votes
0answers
269views

Installing matching kernel-headers

I am trying to install kernal-headers for the kernel 6.0.7-301.fc37.x86_64 on fedora, but dnf only gives me these options: Name : kernel-headers Version : 6.3.3 Release : ...
user7954302's user avatar
0votes
0answers
334views

How to build kernel after modifying specific files?

I'm new in kernel development and I modified two kernel files for a research project. Now, I already know how to do a fresh building of the kernel source code and that is what I did. I'm asking if I ...
Lorenzo Pappone's user avatar
-2votes
4answers
934views

How to disable GUI when compiling the linux kernel?

So I'm compiling the 6.0.3 kernel in Debian 11, and I've been given the task of getting the smallest kernel possible that boots and has Internet connection. I find myself at a point where I've ...
Adrián Jaramillo's user avatar
1vote
0answers
50views

Shall I full recompile after .config modification?

After compiling a kernel I've found that I want to touch certain .config constants. I'm aware that these constants are used by source files from: drivers/hdi/ drivers/net/wireless/realtek So, I'm ...
SirLouen's user avatar
-1votes
1answer
767views

Error trying to compile kernel 5.15

I am trying to compile the linux kernel 5.15.64 but it fails. I have the config and use make -j4 && sudo make modules_install -j4 but this is the error I get. make[1]: *** [kernel/Makefile:160:...
Rattle's user avatar
1vote
1answer
665views

Compiling kernel with specified parameter

You can easily change kernel parameters with sysctl and then make it persistent with /etc/sysctl.d but is there a fast way to change default kernel parameters like default vm.swappiness = 60 at the ...
EdiD's user avatar
  • 342
1vote
1answer
1kviews

Can't compile Kernel module with KBUILD_CFLAGS_MODULE

I'm having trouble to compile kernel modules with KBUILD_CFLAGS_MODULE with new kernel. The compiler shows me a weird error. Such builds used to work with my older kernel (5.5) but does not work ...
Maxime B.'s user avatar
1vote
1answer
577views

Unable to build Linux kernel module out of static driver code

I am trying to build a kernel module (.ko) out of a driver that doesn't have module configuration by default. I want to avoid having a built-in driver because I get firmware loading errors. I did the ...
VINOTHKUMAR S's user avatar
1vote
1answer
470views

Building ksmbd on Debian Buster (+bpo)

I am trying to build the ksmbd kernel module. I tried the tag version: $ wget https://github.com/namjaejeon/ksmbd/archive/refs/tags/3.2.1.tar.gz $ tar xvfz 3.2.1.tar.gz $ cd ksmbd-3.2.1 $ make [...] ...
malat's user avatar
  • 3,297
0votes
1answer
434views

Cannot build kgdboe against kernel headers

I am trying to build kgdboe according to the following tutorial. I am running Ubuntu 20.04 with an updated kernel 5.9.0 as I needed a driver which was not available in stock kernel. I updated the ...
Hamzahfrq's user avatar
1vote
0answers
326views

custom kernel module not being compiled

I'm playing with linux kernel, trying to write some modules. I added them in the linux sources, under /drivers/my_module/my_module.c. (I'm using kernel 4.9, on debian 9, make 4.1) Here it is: #include ...
Grizzlyman's user avatar
4votes
1answer
10kviews

How to build kernel modules in Alpine 3.12

I need to build this wifi driver for Apine 3.12 x86_64. I install gcc and linux headers by this commands: apk add --update alpine-sdk linux-headers But when I tried to build the module it was failed ...
MSS's user avatar
  • 320
0votes
1answer
477views

Why is a loaded module not being driver of the device?

I tried to compile an Android 8 kernel to contain a driver for TP-Link TL-WN722N USB Wi-Fi card for a smartphone, the kernel is flashed successfully, but when I plug the Wi-Fi card via OTG to the ...
kdlsw's user avatar

153050per page
close